﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="FileCenter.ascx.cs" Inherits="Control_FileCenter" %>
<div style="text-align: center;">
    <asp:Label ID="LB_FileCenter" runat="server" Font-Bold="True" Font-Size="Small" ForeColor="Red"></asp:Label>
    <asp:Repeater ID="RPT_FileList1" runat="server">
        <ItemTemplate>
            <table width="90%" align="center" border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td width="18px" height="16" align="center" valign="middle">
                        <img src="Control/images/d.jpg" alt="" /></td>
                    <td align="left" valign="bottom">
                        <asp:HyperLink ID="HL_FileURL" NavigateUrl='<%# "~/UploadFile/"+Eval("File_URL") %>' runat="server">
                            <%# Eval("File_Title") %></asp:HyperLink>
                    </td>
                    <td width="100px" align="right" valign="bottom">
                        <%# Convert.ToDateTime(Eval("File_DateTime").ToString()).ToShortDateString()%>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td width="18px" height="16" align="right" valign="middle">
                    </td>
                    <td align="left" valign="bottom">
                    </td>
                    <td width="100px" align="right" valign="bottom">
                    </td>
                </tr>
            </table>
        </ItemTemplate>
    </asp:Repeater>
    <table border="0" cellpadding="0" cellspacing="0" style="height: 30px" width="90%">
        <tr>
            <td style="width: 25%; text-align: center">
                共<asp:Label ID="LB_PageCount" runat="server"></asp:Label>页</td>
            <td align="center" style="width: 25%">
                第<asp:Label ID="LB_PageIndex" runat="server" Text="1"></asp:Label>页</td>
            <td align="center" style="width: 50%" valign="middle">
                <asp:LinkButton ID="LBtn_FirstPage" runat="server">首页</asp:LinkButton>
                <asp:LinkButton ID="LBtn_PrePage" runat="server">上一页</asp:LinkButton>
                <asp:LinkButton ID="LBtn_NextPage" runat="server">下一页</asp:LinkButton>
                <asp:LinkButton ID="LBtn_LastPage" runat="server">末页</asp:LinkButton>
            </td>
        </tr>
    </table>
</div>
